package config

type DBOption struct {
	Driver         string `json:"driver"  yaml:"driver"`
	Source         string `json:"source" yaml:"source"`
	Name           string `json:"name" yaml:"name"`
	SqlLog         bool   `json:"sql_log" yaml:"sql_log"`
	MaxOpenCons    int    `json:"max_open_cons"  yaml:"max_open_cons"`
	MaxIdleCons    int    `json:"max_idle_cons"  yaml:"max_idle_cons"`
	ConMaxLifetime int    `json:"con_max_lifetime" yaml:"con_max_lifetime"`
	MaxIdleTime    int    `json:"max_idle_time" yaml:"max_idle_time"`
}
